/*
 * Created on Apr 25, 2005
 *
 * TODO To change the template for this generated file go to
 * Window - Preferences - Java - Code Style - Code Templates
 */
package br.ufmg.dees.insane.commons.view;

import br.ufmg.dees.insane.commons.controller.Controller;

/**
 * @author roque TODO To change the template for this generated type comment go
 *         to Window - Preferences - Java - Code Style - Code Templates
 */
public abstract class IView {

    private DrawingArea da;

    private ViewState vs;

    private Controller controller;

    public IView() {

    }

    /**
     * @return the current drawing area
     */
    public DrawingArea getDrawingArea() {
        return this.da;
    }

    /**
     * @param da
     *            The Drawing Area
     */
    public void setDrawingArea(DrawingArea da) {
        this.da = da;
    }

    /**
     * @return vs
     */
    public ViewState getViewState() {
        return this.vs;
    }

    /**
     * @param vs
     *            set the state of this view
     */
    public void setViewState(ViewState vs) {
        this.vs = vs;
    }

    /**
     * @return controller return the controller of this view
     */
    public Controller getController() {
        return this.controller;
    }

    public void setController(Controller controller) {
        this.controller = controller;
    }

   // public abstract Interface getInterface();

   // public abstract void setInterface(Interface i);

    public abstract void setCoord(String x, String y);

}
